#!/bin/bash
# 初始化开发环境
pip install -e .

# 仅在.pre-commit-config.yaml存在时安装
if [ -f .pre-commit-config.yaml ]; then
    pip install pre-commit && pre-commit install
fi